package com.qianfeng.smartdevice.exceptions;

/**
 * @time: 2022-03-14 17:42
 */
public class MyBaseException extends RuntimeException{

    private int code;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public MyBaseException(String message, int code) {
        super(message);
        this.code = code;
    }
}
